package com.woniuxy.cloud.ticket52;

import com.woniuxy.cloud.ticket52.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value="order52",contextId = "orderUser")
public interface OrderUserAPI {

    @PostMapping("reg")
    public Result register(String username, String password);

    @PutMapping("modifyPassword")
    public Result modifyPassword(String username,String password);

    @PutMapping("getInfo")
    public Result getUserInfo(String username,String password);

}
